﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AWP_Vl_4_foreach
{
    class Program
    {
        static void Main(string[] args)
        {
            List<int> myList = new List<int>();

            myList.Add(4);
            myList.Add(7);
            myList.Add(2);
            myList.Add(1);

            foreach (int i in myList)
            {
                Console.WriteLine(i);
            }

            Console.ReadKey();
        }
    }
}
